package designPattern.ObserverPattern1;

/**
 * 发布接口
 * @author jiangwz
 * @create 2019/10/30.
 */
public interface Pub {

    void registerSub(Sub sub);
    void removeSub(Sub sub);
    void publish(String msg);
}
